DonTremb
|
Layman
|
|
|
Reged: 08/09/04
|
Posts: 7
|
Loc: Iraq
|
|
|
I was wondering if it would be possible to run a check to see if a character had any equipment? Part of a mod that I'm going to start working on will require the player to have no equipment. He will be able to get equipment, but if he does have any, I want it to trigger some kind of script.
Also, is there a way to prevent a player from using any magic spells that he has?
Thanks.
-------------------- "And if it wasn't for my horse, I would never have gone to college."
Post Extras:
|
JOG
|
Curate
|
|
|
Reged: 09/15/02
|
Posts: 745
|
|
|
|
The only way to do this is as follows:
- You need to make the player go trough a hall with a container and a scripted door/grate.
- Remember player's strength, set it to 0.01, teleport him right in front of the container. And display a message that he should drop all his stuff and go trough the door.
- The player can't move untill he dropped everything that has a weight When the can move again and goes trough the door, An activator on the floor of the other side closes the door, when the player is near and sets player strength back to original value.
As for Spells: You can disable all spells (Disableplayercasting). Or you can disable Teleporting (Disableteleporting) and Levitation (Disablelevitating)
You can also remove certain pre-made spells from the player's list of known spells (removespell), but there is no way to remove spells the player created ingame.
-------------------- Havish (Updated to v1.2 !!!)
Pirates! (WIP)
My Morrowind Corner
Post Extras:
|
DonTremb
|
Layman
|
|
|
Reged: 08/09/04
|
Posts: 7
|
Loc: Iraq
|
|
|
Wow! That's great! Answered all my questions flawlessly. I can use that advice pretty much verbatim in my mod. Thank you so much!
-------------------- "And if it wasn't for my horse, I would never have gone to college."
Post Extras:
|